package logic

import (
	"context"

	"go-zero-demo-3/mall/user/rpc/internal/svc"
	"go-zero-demo-3/mall/user/rpc/types/user"

	"github.com/zeromicro/go-zero/core/logx"
)

type GetUseInfoLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewGetUseInfoLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetUseInfoLogic {
	return &GetUseInfoLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *GetUseInfoLogic) GetUseInfo(in *user.GetUseInfoReq) (*user.GetUseInfoResp, error) {
	// todo: add your logic here and delete this line

	return &user.GetUseInfoResp{}, nil
}
